package com.thx.user.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.thx.common.struts2.BaseAction;


/**
 * 登录成功后显示首页
 *
 * @author balance
 *
 */
@Namespace("/")
@Action(value = "index", results = {@Result(name = "index", location = "/pages/index.jsp"),})
@Controller
@Scope("prototype")
public class IndexAction extends BaseAction {

  private static final long serialVersionUID = 1L;

  public String execute() {
    return "index";
  }

}
